{{extend defaulthtml}}

{{block 'css'}}
<link rel="stylesheet" type="text/css" href="{{ _res_path}}/html/help/help.css" />
{{/block}}

{{block 'main'}}
<div class="helpbox">
    <div class="head">
        <h1>{{title||"MEMZ帮助"}}</h1>
        <h3>{{botname}}&MEMZ-Plugin</h3>
    </div>
    <div class="content" style="background-image:url({{_res_path}}/img/MEMZ/{{bgimg}})">
        {{each helplist h }}
        <div class="content-div">
            <h2> {{h.title}}</h2>
            <div class="content-box">
                {{each h.list hl}}
                <div class="children-box">
                    <div class="left"
                        style="background-position-x: {{((hl.icon[hl.icon.length - 1] == 0 ? 10 : hl.icon[hl.icon.length - 1]) - 1) * -50}}px;background-position-y: {{((hl.icon.length>2?hl.icon[0]+hl.icon[1]:hl.icon[0])-(hl.icon[hl.icon.length-1]==0?1:0))*-50}}px;">
                    </div>
                    <div class="right"><span>{{hl.title}}</span><span>{{hl.desc}}</span></div>
                </div>
                {{/each}}
            </div>
        </div>
        {{/each}}
    </div>

</div>
{{/block}}